Fix bug when intl extention is not present