(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.