Move intermediate files to build dir