match PolyMath.cpp old

Define -DCATCH_CONFIG_MAIN in src/PolyMath.cpp using the cmake build