Minor building fixes
Use FindJNI