Fix missing .curupdir breakage