nadc_tools: fixed incompatebilities with Apple LLVM version 6.0 clang compiler