fix compiling error in CCControlSlider.cpp on vs.