ported ICE to cmake build