fix the path to the build dir for host packages