Compile libril with gcc.
Change const void to void.