dynare: head build

Add support for building from head