Using custom asprintf function to be compatible with OCaml < 4.01.0