Fix bootstrapping not working on Windows.

This was ifdef'ed in the code before, but that was removed, so we need
to rely on platform detection instead.
Merge pull request #1492 from kacfengine/win_bootstrap

Fix bootstrapping not working on Windows.