fix for sdl compile (nw)