Consistent use of #if defined

Switched to the positive test like all the others.