Fix extra newline, and add -g where other switches are forwarded.