[#61007096] make sure install_dir is recursively created if necessary