Support the environment without `realpath'