Patches for exporting dlls
Merge pull request #231 from yangyanli/dll-export-patches

Patches for exporting dlls