Fix OC7 setup

fix #244