Fix Mac OS X build error.