Temp fix for egl. Added missing functions for linux and rpi.