Removes Mac-specific path.