build: only skip demos when using as a subproject
Demo builds were disabled in d46bf16a because it was causing build issues when using as a subproject. This re-enables them, but only when not building as a subproject.
Demo builds were disabled in d46bf16a because it was causing build issues when using as a subproject. This re-enables them, but only when not building as a subproject.