Only prefix cwd with install_dir if no cwd is set