Switch: Fix usage of std::string::compare