Making changes for Status class so that it compiles both with MSVC and g++