Fixed SDL 1.2 compat issue