Fix build on newer Mac OS X