(RGUI) Build fixes