only compile test_functions whenever libgflags is available, ref #67