ensure that the target installation directory exists