[Mac] DllImport must be marked as extern