Update forestdb headers for correct compilation

Fix compilation errors with updated forestdb header files.