Fix: dll linking on windows;
Fix: a couple of minor bugs in loading dll modules;
Fix: a few minor bugs in DaoMake;