improve MSC++ compatability