fix for crashed GettextTest in PHP 5.3