Support LD_LIBRARY_PATH env on linux.