Build lib as shared by default