Fix compilation with SDL 2.