fix build unix db