Add mhd extensions to config.py