Fixed msvc warnings and removed header::operator bool