Another attempt at implementing 64bit Windows build

At this stage the resulting 64-bit binary crashes, so I still have more
work to do...