in_sdl2: Fix OSX compilation