[demo] use different shaders for GLES/GL
signals: fix compilation on linux in c99
[platform] fix compilation of linux/EGL