fix for macs with retina displays, and relax cabal constraints