GitHub #163: Initial work on waf build (not complete)