Export the ELEMENTS_DIR so that dependencies work.

Change-Id: I544b0762f8a13a11564cf02c5fdbe3cb521f63b3