Make this work with NativeCall HEAD

A bit hacky, but there is not yet a "proper" way to do this