FILE_FILE_MAXDIR/FILE were undefined. Restoring BKE_utildefines.h include to make this work again in the meantime.