Updated Berkeley DB version conditionals for RedHat 7.x.