Berkeley DB working on mac and unix