Fix LD_LIBRARY_PATH for test executable