Make sure unit-tests compile against the correct system on MacOSX