A minimal implementation of realpath for Mac OS X