Merge "Update Makefile to build shared libraries."