ospat: fixed build chain