Link tests against .framework if available