Fixed makefile to include Global class in compilation