Support erlang r18