Fix compilation.
Fix handling of paths containing spaces when copying DDOX resources.
Implement --root=PATH switch to override the current working directory.