Fixed a build dependency issue with demos