Fixed libjvm_db.c for bsd