Fix build on Darwin.