fixed building without gui still requiring sdl
belongs to previous commit + deletes stuff from a misplaced cmake command (oops).