Fix build on newer osx machines.