Build fixes
Merge branch 'master' of github.com:haxenme/NME