use rpc for uuid on windows
Merge pull request #2 from davidhodo/master

add windows support