Fix -mac Tests linkage