link sdl only on mac