set LIBRARY_PATH for compilation