Update standalone build script for cross compilation. Change-Id: If2af6f23625c4e1250cfc59cabd7fc620ba83773