Fixed bug in CTestConfig affecting API CI tests on non-Windows platforms.