Fix /sdl warnings on VS 2012