@anil: I made sure to check the availability on the current switch only. But yes, if the compilation scripts still call `ocamlopt.opt`, it will hit the system one, difficult to hide it apart from the obvious hacks.
@dbuenzli: thanks, that sounds quite sensible.