More correct use of cmake when sdl.