Fixed: C++ errors excluded on windows