Add hack to sfml work on osx (Thanks to rust-sdl).
Update to work with osx