minor gcc tweaks