Create ~/.ghc/ if it doesn't already exist; fixes trac #4522