Fixing intel compiler bug