Change Makefile file in order to solve compile errors