Adjustments for building properly under Windows and MSYS2/MinGW-w64

Nevermind this topic, a new one is already open here:

Bad action, I thought that this one wasn’t correctly created.