compatible with unstable dynare build