Bug fix

sizeof(std::string) can be 4 or lower so lets do this instead of a
static assertion.