Automatically generate command to insert GHC LANGUAGE pragmas