add a script which tries to autodetect which backend to build.  Useful for the OPAM packaging