Set LD_LIBRARY_PATH during tests.