Generic deriving only works with binary >= 0.6.3

Partially reverts 5ad45eff.