Fix to compiling latex with relative path includes.