add COPYING file (dup of license.txt) and update AUTHORS and README file
fix clang build (FreeBSD patch)
set libdir properly to enable MultiArch (Debian patch)