Revert "updated gflags stuff"

This reverts commit bc1b375874491109ebb912d82da9d2315d3b67ff.
some changes

Change-Id: I04674a0bcfe4a52680cd6d4d5a27dd9566a10bd9