Change over to new refactored renderer for HTML and SingleHTML. Make build system more robust for paths