Fixed all ril compilation errors(Fucks vars)