cxx.qt: Fix list modification during iteration.
cxx: Auto detect architecture.