Frozen cabal dependencies and added upper bound for logfloat

New version of package logfloat (0.11.1) linked to m library
and caused problems on windows. Alternatively you can build
it with -f-useFFI. For more see
https://ghc.haskell.org/trac/ghc/ticket/3242#comment:27