strip the newline from ghc-prefix.