Fixed some rules in Makefile.