some fixes
Merge branch 'Windows-port' of https://github.com/hexhex/dlliteplugin into Windows-port