Fix Ril compiling for samsung