Build with -DNOGDI by default to prevent name conflicts with windows.h.