per platform build scripts
Merge pull request #270 from totallyevil/PLATFORM_BUILD_SCRIPTS

per platform build scripts
Merge remote-tracking branch 'upstream/master'
Fix build to handle directories with spaces