Move dependency directory to install path before cleaning build dir