Build as shared library by default