fix Issue 11239 - [REG2.064beta] ctRegex causes link errors with -debug since Pull2550