link output_sdl statically