Fix compilation when windows.h is included (issue 2)