gradm: Attempt to fix build failure by using older flex

Thanks to @thoughtpolice for noticing and suggesting the fix!