workaround to compile on Erlang 17