Removes OSX dependent directory references.