Fix issue with ngmin failing during build