fixed: windows compile errors