nanomsgxx does not build with waf-1.9. However, waf upstream provided a solution for the issue, see https://github.com/waf-project/waf/issues/1824