Compilation fixes

These are the changes I made to get the bindings to compile with LLVM/Clang 3.4.

Tested on Linux x86 with OCaml 3.12.1 and OS X with OCaml 4.01.0 (both with LLVM/Clang 3.4).