Fix statically linked gflags library with MSVC