Fix URL result caching.
Fix osx build.