Fix problem with aux file of main file in subdirectory.