build fmdb