Fix linkage on ANativeActivity_onCreate