set up LD_LIBRARY_PATH too