Fix osd_regression build

osd_regression needs to link against all the appropriate OSD dependencies, including possibly CUDA, TBB, ICC...