build: move ARCH_LIBS definition outside of ASM definition