Fix build to allow building of HTML only
This allows to run `grunt demos` or `grunt demos-min`
Merge pull request #5475 from LaurentGoderre/build-demos-only

Fix build to allow building of HTML only