fix clang error for argument unused on Mac OS X host machines