Fix dynamic linking issues

Link bamtools statically with libbamtools-utils and libjsoncpp since
they're not installed by default.

Installing libraries to $prefix/lib/bamtools requires setting
LD_LIBRARY_PATH or the executable's rpath. Installing libraries to
$prefix/lib is cleaner.