Fix error causing windows not to build properly