add LD_LIBRARY_PATH and PKG_CONFIG