Fix RIL implementation. Get build to create usable boot.img

Change-Id: I5998586ad929a9bbda88efc24fdb25de2c8463f3