Add ErlNifFunc flags to support erlang 17.
Merge pull request #2 from nekron/master

Add ErlNifFunc flags to support erlang 17.