added ifdefs for errno
add -mno-ms-bitfields for newer broken versions of mingw
downgrade CryptCATAdminEnumCatalogFromHash() error to debug
resurrect lost in merge progress callback call
compatibility with MinGW-w64
cross friendly includes