Fixed warnings in MinGW
Merge pull request #321 from TsudaKageyu/nominmax

Fixed warnings in MinGW