Fixed dependencies in Makefile

Added header dependencies in Makefile for standalone compilation