Fix unused variable on OS X.