Fixed issue for haiku where 2 BApplications instances would crash the game, and fixed install script so it works on Mac