fix build script to work on Windows
Merge pull request #21 from alerque/win_build_fix

fix build script to work on Windows