Fix ril compile error