Fixed waf build scripts