reduced calls to SDL_GetBasePath()