fixed OS X and other unix/linux-like systems project->build action - was calling `bash haxe --cwd.....` which was an invalid commandline.
messed up commit fixing OSX's project->build by including "break" statements on the switch().
Merge pull request #147 from diddledan/master

OSX and Linux/Unix project building