Corrected a few inverted preprocessor conditions