Support older g++ versions.