Updated to match name changes in sdl2

Would no longer build with the latest version of SDL2. With these changes it should build again.