shmif/egl platform build fixes