Work around `canonicalizePath "/"` in GHC 7.2.2
GHC 7.2.2 also has fWarningFlags and fLangFlags
Merge pull request #181 from eagletmt/fix-for-7.2.2

Fix for GHC 7.2.2