Workaround for gcc 4.6: ::value of c_str is not constexpr