Update build function to allow multiple devices specified