Pass --enable-debug down to some externals

Change-Id: I3bb3c90142cbbd32877ba5e3d9070bc52ee76df9