no NULL to std::string coercion, breaks on Windows