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