Add install_parent_dir parameter to optionally manage the install_dir parent directory.