tweaks for old system gcc