Enable building tests on macOS.