egl: Allow compilation to succeed with FreeBSD