In #208, we added a bunch of code that is only relevant on Linux platforms. Some of that code was properly gated to only be used on Linux, but the areas where we initially imported the code/dependencies was not gated. This led to compilation issues on non-Linux platforms, like macOS.
Solution
This PR simply gates the relevant code and dependencies to only be included on Linux.
Context
In #208, we added a bunch of code that is only relevant on Linux platforms. Some of that code was properly gated to only be used on Linux, but the areas where we initially imported the code/dependencies was not gated. This led to compilation issues on non-Linux platforms, like macOS.
Solution
This PR simply gates the relevant code and dependencies to only be included on Linux.