fix the error {error,{upgrade,"Upgrade not supported by this NIF library."}}