fix testcase handling of haiku's compat deps