fix compilation to link with opium, waiting for opium installation to be fixed