tweaks for gcc