fix conditional ifs to accord with dynare MEX defines