Creating an optimized production build slow