Corrected Makefile so that it is more compatible with older gcc