Removes realpath dependency