Fix crash when there is no LD_LIBRARY_PATH