Replacing cmake by waf