fixed ice build with cmake