ion: Fixed build errors