Using the BINARY_FOLDER or DOWNLOAD_FOLDER options make them escape from the build-system to the system the archives run later. As the build-time path will usually not work on the other system, restore the intree defaults.