Fix small bug in styles generation script