Changed strdup() to SDL_strdup().