Fixed bug for WinXP and icc