Add optional targets to Makefile for building with libtool