Fixed compilation errors related to Light & ArrayEXTState