to exclude non-compilabel NativeLayerForMac on Windows and Linux
to suppress message when Debug level = 0