Hacked OS X build

Makes it OS X specific!