Fixes to get SDL2_image sub-project building on OSX

sdl-config is not present on my machine; the configure section I've changed could be removed entirely unless this is a dependency for some setups.