change #ifdef USING_LIBBFD to #if defined(DEBUG) && defined(HAVE_LIBBFD).
,"winmm" /* for the threadDelay timer */
,"wsock32" /* for the linker */
#endif
,"winmm" /* for the threadDelay timer */
,"wsock32" /* for the linker */
#endif
+#if defined(DEBUG) && defined(HAVE_LIBBFD)
,"bfd", "iberty" /* for debugging */
#endif
#ifdef HAVE_LIBMINGWEX
,"bfd", "iberty" /* for debugging */
#endif
#ifdef HAVE_LIBMINGWEX