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.