Fixed a building issue on OS X.