Fix mistaken preprocessor conditionals