Some udis86 anal fixes, update sdb and fix mingw32 build