Fix compatibility issues for TYPO3 6.2

Reference: #6
Merge pull request #6 from gebruederheitz/6-compatibility-6.2

Fix compatibility issues for TYPO3 6.2