Mac build script.

Also stubbed out the windows batch file.