Fix syntax error that prevents building Haddock documentation on Windows