Adapt to MinGW

Update caper/Makefile.MinGW and caper.exe.