added -g flag to cflags