[build] small test with exporting LD_LIBRARY_PATH