add support for multiple target arch