Fix loading translation files on R17
Fix compilation on pre-R17