Fix the error '{error,{upgrade,Upgrade not supported by this NIF library.}}'