recompile library