Fixed installation routine for DGEN