allow for BUILD_DIR to be set via command line define
Merge branch 'master' of https://github.com/haxenme/NME