configure.ac: don't add RPATH when searching for extra libs

Closes #766
doesn't appear to actually be required, and adding RPATH breaks Debian and OpenSUSE policy
all flames to me