Replace gb_tree() type depending on Erlang release.
Issue #15