HAVE_LIBDL isn't going to be of any use here since dynamic libs aren't allowed on ios.