Build libiperf3 as both a shared library and a static library by default.

Use --disable-static or --disable-shared to build only one flavor
of libraries.

Tested on MacOS, FreeBSD, and CentOS 6 Linux.

Resolves #146.

Originally submitted by:	@i2aaron
Regen to pick up changes from issue #146.