Try to build deps in a separate dir

Change-Id: I1aafa1aa55c20aa35c6eb43f7fe36bf72ad0debe