Add missing include and use std::strlen