add ldl for dlopen and such
Makefile.am: add libhardware and prettify it a bit
whitespaces
tests_glesv2: add asserts
test_egl: fix copy-paste