fix build issue affecting Windows 8