Workaround for jruby rake issue. Refs #1804