build: add compile flag --test_egl to display a test  window