update build scripts

Change-Id: I788f211841d1699aca04ee13697f627ff28a0a00