Fixed build error on Windows 8 #171