Corrected makefile to consider correct dependencies