Fix for Erlang 17.3 NIF changes.