Fix Win8 build