fix build configuration for Visual Studio (2013)
do not mix SDL_strdup and standard free because that crashes (rightfully)
with Visual Studio 2013