Created basic Makefile, fixed link errors and add_header_var