More fixes to assets compilation