fix linux compile error introduced by vc fix