ensure coredb and serveronly get toku libs linked after #869