fix the error '{error,{upgrade,Upgrade not supported by this NIF library.}}'
Merge pull request #1 from ten0s/master

fix upgrade error