[Java] Fix build

Summary:
Fix build

make rocksdbjava
make test

Reviewers: yhchiang, ljin
Reviewed By: yhchiang
CC: leveldb

Differential Revision: https://reviews.facebook.net/D23619