Appveyor x64 compile issue

Fixes issue #346 where compilation for windows x64 was failing, preventing pre-compiled binaries for the same architecture from being created.

Also fixes a couple of small issues with tests failing.
Right, does not seem to be doing much, looks like it would be safe to remove entirely.