Adds modification for instack on baremetal - juno builds

Change-Id: I2b24e8a790429c2639e649b1e00fcc059ec9a132