build: merge libarch and libboard