config_vars are not set in running app.
Write env file that sets PATH and LD_LIBRARY_PATH.
Change back out of directories after compiling.