Helper for build isolation testing