Visual Studio 2012: Fixed performance warnings (float/double to bool)

Delicate balance with warnings in Clang.