[fix] preprocessing errors on clang osx