Remove all use of booleans. Because MSVC < 2013. Sigh.