add automatic dependency tracking for ecpp <%include> and fix out of tree build