fix runtests to set LD_LIBRARY_PATH environment variable.

Patch from Karel Gardas <karel.gardas@centrum.cz>.