A basic layout for SDL with Haskell under OSX solving the SDL_main() problem