arch_x86: fix portability with g++