Specify the Java platform when building on JRuby