Made compatible with unix >= 2.7

..simply using a CPP ifdef.

I have also bumped the cabal manifest version, amend if not ok.

PR is obviously backward compatible with unix < 2.6

Alfredo