Prepare build dbmgr lib