added sdl2 support, but broke native linux