Thanks to this answer. I use CorFlags to get it to run as 64 bit
corflags.exe WindowService.exe /32bitpref- /32bitreq-
The version of CorFlags that I used was 4.0.30319.17929, which I found in C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools. You could try the older versions with the following:
corflags.exe WindowService.exe /32bit-