Fix building with ION support