fixed SDL2 linking problems