Copies the lib directory into the build directory