Fixing copying of library files.