Tidy up sdl pkg-config file, remove duplicate -pthread, remove -Wl,-rpath strings
add staticlibs to sdl for SDLmain.a, add patches for general bugfixes