fixed static libs issue
fixed broken build for windows
Merge pull request #1 from cryptozoidberg/master

update