Minor fix in ifdef check