Fix compilation with SDL 1.2