Fix for Erlang R16B01

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>