before including <ltdl.h>. Otherwise it tries to export some symbols
from main.cc, which then conflict with the real ltdl when it gets linked.
- on win32 I am not using libtool to build the libraries, so I need to
use a different format string for module names. On win32 use "%s.dll".
- call lt_dlopenext() instead of lt_dlopen() because it searches for
filenames using various extensions including the libtool extension .la
and also the system's native library name (.so or whatever).
For now I've been editing the Makefile directly and haven't updated
the Makefile.in. Once it works I'll transfer everything to Makefile.in
and remove Makefile.