make Hibernate an optional dependency