Updating lib and mgcmake.