Improved version detection for EU cookie setting.