Revert "g2: build libion"

This reverts commit 5f5b7dd42752cc7f9e75cb947f9a6f7f4e2cc560.