Fixed asset compilation issues for production