diff --git a/shake-ats.cabal b/shake-ats.cabal
--- a/shake-ats.cabal
+++ b/shake-ats.cabal
@@ -1,6 +1,6 @@
 cabal-version: 1.18
 name: shake-ats
-version: 1.9.0.1
+version: 1.9.0.2
 license: BSD3
 license-file: LICENSE
 copyright: Copyright: (c) 2018 Vanessa McHale
@@ -49,7 +49,7 @@
         shake >=0.14,
         binary -any,
         shake-cabal -any,
-        shake-c -any
+        shake-c >=0.4.0.0
     
     if flag(development)
         ghc-options: -Werror
diff --git a/src/Development/Shake/ATS/Environment.hs b/src/Development/Shake/ATS/Environment.hs
--- a/src/Development/Shake/ATS/Environment.hs
+++ b/src/Development/Shake/ATS/Environment.hs
@@ -13,8 +13,8 @@
 -- installed artifacts. This is used to keep libraries built for different
 -- platforms separate.
 ccToDir :: CCompiler -> String
-ccToDir (GCC (Just s)) = reverse (drop 1 $ reverse s) ++ [pathSeparator]
-ccToDir _              = ""
+ccToDir (GCC (Just s) _) = reverse (drop 1 $ reverse s) ++ [pathSeparator]
+ccToDir _                = ""
 
 -- | The directory @~/.atspkg@
 pkgHome :: MonadIO m => CCompiler -> m String
