fix compilation on non-windows platforms

Change-Id: Ieabc76bdcaed64983fdf3166dc12e93be4171ad0