Fix compilation windows on Visual Studio 13,14,15 the errors are due to the matrice min in window.h