Removed include Makefile.in
Added checks for header files, programs and more