Force debugflags to just -g unless DEBUG is set.
Merge pull request #1 from dpiddy/debugflags

Force debugflags to just -g unless DEBUG is set.