Fix asset precompilation in production