fix copying of bin/lib files