Resolve travis-ci build problems

Currently the expectation is that `make check` builds o files differently than necessary for rocksdbjava