32/64 bit build on windows

Requires an out-of-source build with cmake, but works fine. Fixes #140.