Move the worker mode check for jruby and windows
2.0 birthday!