Fix 93ab16c

sudo echo "/usr/local/lib/" >> /etc/ld.so.conf.d/locallib.conf will not work when executing as a non-root user. Tee should get the job done.