Switch namespace not available for Linux builds

I get this error when trying to build for Linux and removing switch controller support for Linux doesn’t really make sense because switch controllers are supported on Linux, how can I fix this?
The type or namespace name 'Switch' does not exist in the namespace 'UnityEngine.InputSystem' (are you missing an assembly reference?)

Apparently Linux doesn’t support Switch controllers by default so I guess it makes sense that it isn’t supported so you can use #if to get rid of it at compile time. My only concern is that if the person is using a switch controller on Linux with a 3rd party driver that the correct glyphs won’t be displayed.