This fixed the issue with Sphinx complaining about missing expected directories during build process. (Redmine issues: #3361 and #3387)