Make Premake4 use pkg-config for SDL2.

If sdl2.pc is not in your standard pkg-config path then set the
PKG_CONFIG_PATH to the correct location.
Handle window resize events.