fix clipboard blocking
Merge pull request #306 from missdeer/master

(+)add build script for msvc toolchain