Fixed check if intl exists.