disable MSVC compiler warning for cast to bool