Fixing warnings under the new VC++.
Fixing gflags warnings in VC++14.