add support for multiple target arch, fix building with make -C package/uclibc++