cmake from sdl_2009_07_19 branch