A quickfix in bstr module. Need to review later.
constraintFoo should be a normal function.

if constraintFoo is a template function, it fails to link in translate
from cstx. Should be a linker bug.