Add 'make shared' target

It is convenient because the suffix of shared libraries varies between
operating systems.