windows compatibility in doc examples