Makefile working correctly