Add support to build in OUT_DIR
Changed tabs to spaces
Change-Id: I46b393b80026c2a2d723f37bc83b4312175f805b