Force debugflags to just -g unless DEBUG is set.