Fixed rules in makefile