Fixed main Makefile not rebuilting lib if sources were modified.