Make rake test just work (tm) on JRuby

When running with JRuby, rake test blows up if there's no native extensions jar built. This commit rectifies that.