fixed bug in SDL2 detection in Makefile