Update build script for the creation of binary fiels

Change-Id: I49fee3c3b3431be67d3d4e5e8ed60a676e185577