Fix CFC Perl tests on Windows
Fix CFC tests on Windows
Fix _scprintf detection on Windows