fix build-break on windows

ae95cdd2a1708a8e9e114dd9bcf577f57f1f5af3 introduced a check, and did put
it outside of a #if !defined(WNT) block...

Change-Id: Id200c6f3161d0c6c611e0b1c293adbd060579cd7