support platforms not exposing RTLD_NEXT