Get a basic Windows build working

This is part of #6.

This PR just attempts to get a basic Windows build working. There might still be some functionality left unimplemented once this is done.