Init opam state in the build scripts