Add BUILD_ARCHES difinition in template

Signed-off-by: Kui Shi <skuicloud@gmail.com>