use $CARCH instead of hardcoding x86_64 for substrate filename reference