macos build tests do not work for 2.0.14

The tests fail when building the macos tests on Big Sur (11.2) , Xcode Version 12.4 (12D4e). They fail because there are build errors.