change SDL into HAVE_SDL