Compilation fix on recent OCaml

Since this bug was fixed: http://caml.inria.fr/mantis/view.php?id=6517
we should use uint32_t rather than uint32

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
#include <stdint.h>
Be safe_string compatible.
Updated .gitignore.