Fix compilation with ICC with static linking