Extensions to the Waf build system