Update GNUmakefile

Some fixes in makefile.