Linux users, you may want to make clean && sh ./autogen.sh && ./configure before running make again.
This seems to reduce the need for a #define, but I need someone on the Windows side to check.