Updated makefile and put cflags last