Some porting changes for SDL.