Initilizing static C++ class variable problem