fixed release compile error in vc++