(RMenu) Get casts working for C99 as well - argh