0.6.3: Workaround for realpath on JRuby