Fix ril library compiling error.
Fix compiling errors.