Revert "very ugly hack to allow load old egl lib"

This reverts commit 5c288547a569e9268aa86994b939b27b6e70ad1e.