Adding basic support for Windows

This is a very simple patch to add support for Windows platforms.