Fixes sdl2 detection on unix
Merge pull request #2 from FabioPedretti/sdl2-support

Fixes build with SDL2 on *nix, patch by fabio