Properly determine if jmxfetch is running on windows