fix copying of binaries