also need to set LD_LIBRARY_PATH for build