[bugfix] fixed Windows platform regression