Add clean_all task to Rakefile
Fix build on JRuby 1.8 mode