* Fix linter.
* Remove dmlc logging header. * Fix lint.
* Try fixing mingw build error when using CMake. * Check __MINGW32__ . * Fix linter.