compatible with dynare unstable build