Fixed --debug builds on Windows.

Change-Id: I081bf78cea70bf29ac16bb6bbfd040ecc7458b79