[travis] With gcc, build osimJavaJNI first.