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

http://d.puremagic.com/issues/show_bug.cgi?id=11239