fixed hibernate build problem