[TASK] Replace TYPO3_OS constant with Environment check