Checks ghc executable flag