fixed documentation and warnings on Windows