Adding builddir option.

Change-Id: I558631b3cb7d9e20540eb86c1abae3ab64accf58