Fix spec in case strict mode is not supported.