fix running test stressMathcore with cmake