Export the BUILD_TYPE so that changelog will work

Change-Id: I9c298ea5a3f0386cdd3ae788d0a9a286938e6a0e