fix makefile pkg-config sdl2 detection

Make's `shell` function seems to return the output rather than the exit code of the sub-process. This fixes the build with SDL2 installed via homebrew+pkg-config on my mac.