add -g as compile args