Also here I see you commented it out.  Indeed I'm building without AD3 and I needed to comment out all the `export_loc` lines, but I guess the right fix would be to get them conditionally?