remove -g from non-debug build