[travis] Don't build java wrapping with gcc.