Build fix for Mac OS X.