Add explicit dependencies to hibernate core and annotation