compile the lib
copy the lib