LMFIT not working

GROMACS version:2019.6
I was trying to perform block averaging using gmx analyze -ee flag, ended up with the following error:
Fatal error:
This build of GROMACS was not configured with support for lmfit, so the
requested fitting cannot be performed. See the install guide for instructions
on how to build GROMACS with lmfit supported
Tried to reinstall gromacs using -DGMX_USE_LMFIT=internal but still not resolved. Kindly suggest a solution. Any help is awaited. Thank you