Extend Makefile to build header only libraries.