Removed the header depend section of the makefile. It was causing too much problem on most platforms. WIll take a look at this later.