Deal with g++ bug.