Fix linking with `SDL_image`.