Fix unknown CPU architecture error with gcc 4.7+