tests/Makefile: Fix run-on-ios

* Upload the shared library with the correct name.
* Set DYLD_LIBRARY_PATH.