constness with older gcc