Build: Correctly transform structure CSS references in the demos

Fixes gh-7771