Copy required libs during build.