Fix bug with asset precompilation