support for erlang R16 +

suppress warning ‘erlang parameterized modules are no longer
supported’, use records instead