#define of a #include

Are all the references to the wire library #ifdef'd out? The IDE might be smart enough to add in Wire.h if it sees any reference to the Wire library. Also, try a #undefine right before your #ifdef.

What we need is a clean button.

Try a new test script that has never had wire.h defined.