Fix for realpath.