Fix some issues with conditionnal compilation
add opam messages