Fix LD_LIBRARY_PATH setup