diff --git a/Criterion/Plot.hs b/Criterion/Plot.hs
--- a/Criterion/Plot.hs
+++ b/Criterion/Plot.hs
@@ -130,12 +130,12 @@
     bottomAxis = laxis_title ^= "number of samples"
                $ defaultLayoutAxis
 
-    bars = plot_bars_values ^= (zip [0.5,1.5..] . map (:[]) . fromU $ times)
+    bars = plot_bars_values ^= (zip [0.5,1.5..] . map (:[]) . U.toList $ times)
          $ plot_bars_item_styles ^= [ (solidFillStyle c, Nothing) | c <- defaultColorSeq ]
-         $ plot_bars_spacing ^= BarsFixGap 0
+         $ plot_bars_spacing ^= BarsFixGap 0 2
          $ defaultPlotBars
 
-renderKDE :: String -> Maybe (Double :*: Double) -> Points -> UArr Double
+renderKDE :: String -> Maybe (Double, Double) -> Points -> U.Vector Double
           -> Renderable ()
 renderKDE desc exs points pdf = toRenderable layout
   where
@@ -154,13 +154,13 @@
                $ defaultLayoutAxis
 
     semiAutoScaledAxis opts ps = autoScaledAxis opts (extremities ++ ps)
-    extremities = maybe [] (\(lo :*: hi) -> [lo, hi]) exs
+    extremities = maybe [] (\(lo, hi) -> [lo, hi]) exs
 
-    info = plot_lines_values ^= [zip (fromU (fromPoints points)) (fromU spdf)]
+    info = plot_lines_values ^= [zip (U.toList (fromPoints points)) (U.toList spdf)]
          $ defaultPlotLines
 
     -- Normalise the PDF estimates into a semi-sane range.
-    spdf = mapU (/ sumU pdf) pdf
+    spdf = U.map (/ U.sum pdf) pdf
 
 -- | An axis whose labels display as seconds (or fractions thereof).
 secAxis :: LinearAxisParams Double
diff --git a/Setup.hs b/Setup.hs
deleted file mode 100644
--- a/Setup.hs
+++ /dev/null
@@ -1,2 +0,0 @@
-import Distribution.Simple
-main = defaultMain
diff --git a/Setup.lhs b/Setup.lhs
new file mode 100644
--- /dev/null
+++ b/Setup.lhs
@@ -0,0 +1,3 @@
+#!/usr/bin/env runhaskell
+> import Distribution.Simple
+> main = defaultMain
diff --git a/criterion.cabal b/criterion.cabal
--- a/criterion.cabal
+++ b/criterion.cabal
@@ -1,5 +1,5 @@
 name:           criterion
-version:        0.5.0.0
+version:        0.5.0.1
 synopsis:       Robust, reliable performance measurement and analysis
 license:        BSD3
 license-file:   LICENSE
@@ -61,14 +61,14 @@
 
   if flag(chart)
     build-depends:
-      Chart >= 0.12,
+      Chart >= 0.13 && < 0.14,
       data-accessor
     cpp-options: -DHAVE_CHART
 
   -- gather extensive profiling data for now
   ghc-prof-options: -auto-all
 
-  ghc-options: -Wall -funbox-strict-fields -O2
+  ghc-options: -Wall -funbox-strict-fields
   if impl(ghc >= 6.8)
     ghc-options: -fwarn-tabs
   if impl(ghc >= 6.12)
