porting to windows.

Hi. thanks to your awsome product.

I added bits change to port to windows.

Thanks.