build shared library by default

build shared library on Debian distros by default. (sorry for the typo on commit log)