Fix runtime asset compilation for production environment