Fix 'forcing to bool' msvc warning.