change get typo3 version detection methode

Hi,

unfortunately the fix from last week don't work all times. Therefore I replace the detection with die compar_version. The version number is set by TYPO3.

Regards 

Simon

See also https://forge.typo3.org/issues/60452