fixed CTest configuration on Windows (see http://stackoverflow.com/a/7777425 for details).