[DF-498] Fix introspection compile errors on Mac OS