Fix for Mac OS X.

Signed-off-by: Peter Atashian <retep998@gmail.com>