Remove hard dependency on camlp4

Not mergeable yet.
In all these functions, I would put the `if Sys.win32 then ... else ...` only on the part that differs (the last line in general). That should factorize a bit the code.