Fix for failing test on darwin/osx. Skip the test on unsupported (non-windows and non-linux) platforms.