Make OS X not crash on my .bashrc

dunno if my new Windows check will actually work, though.