MDL-47301 libraries: Patch Typo3 for Moodle's use