Fix bug in recursive includes