Merge pull request #49 from e9925248/master

Various build fixes for using waf and mingw
Build server