(CFACT-51) Link and run cfacter on Windows

Makes it possible to link the cfacter project on Windows using MinGW.
The cfacter executable can run, but produces no facts.
I'll make the change to take the stream as an argument.