Fixing realpath conversion for JRuby on Windows

On Windows we should not convert path to realpath for JRuby because canonical path will contain \ while Ruby always uses / and after this conversion we do not stop on breakpoints :(
Also JRUBY_VERSION may not be initialised at this point (at least for initial breakpoint it is not :(