gccxml: fix gcc-based build