Read loaded libraries from /proc/self/maps

Unfortunately, dl_iterate_phdr doesn't seem to be available on every
platform/Android version...
Fix compile on ICS