Erlang terms support for C