Makeindex working in the wrong dir.