Fix RIL and add patched gps.h