Updated configure process on Win32 to use DLL base.

Fixed "lc_cleanup" causing segfaults.