Compilation fix for Mac OS X 10.9
Compilation fixes for Mac OS10.9/Apple clang/llvm