fix Magit minimal installation.
remove flycheck hack