configure: Deduce the path to sdl-config from the compiler