Fix chefdk windows build issues