Add support for PATH and LD_LIBRARY_PATH