If gdbm is not available, fall back to anydbm.