windows compile bug