ensure that building test tools preserves compilation flags including -std=c99 and -std=c++11 when invoked with CFLAGS pre-set so that it properly compiles with gcc <= 4.8 . reported by @t-mat.