Fixing issue where backslashes in path is windows were being escaped in jruby
changed the way ENV variables were added by using local variable