better detection of nette version