fix charm arch for GCC