Add singlelib target

Doing a "make singlelib" will produce a single, amalgamated static archive out
of all the depdenencies.