Fixed a ridiculous bug where bash was exiting if not running on OS X.