Fix strchr being not found for some configurations.