Switched from using cmake to waf