Updated to support OCaml 4.01

Define @@ and |> only for older releases. Fixed all the new warnings
produced.