Replaced static list of language extension by calling ghc-mod.