SDL_main workaround