LMI based stabilization of a class of switching LPV systems