Windows 32 debug, part 1

first part of the changes
*json-rpc-cpp* is not yet ready to work in debug mode on windows, but you can build headless client in debug

you can run
```bash
cmake -DHEADLESS=1 -DJSONRPC=0 ..
```