[TASK] Improve PHP5.2 / TYPO3 4.5 support