Avoid building the C extension on JRuby