check against namespaced class names for TYPO3 6.x compatibility

check against namespaced class names for TYPO3 6.x compatibility