replace TC_ARCH with computed BUILD_ARCH since TC_TARGET has been added in main stream