nsurl support for osx