Fix build with ancient SDL 1.2 versions