Fix OCAFExport_test in static build