Fixed ifdefs for SDL detection