Fix perl library path in build collection script.