move many i386 spercific flags to Makefile.local, put Makefile.local into packaging/generic
set ARCH correctly with new build system