build fixes for GHC 7.3
Bump version from 0.5.1.0 to 0.5.1.1

* threads.cabal: