Fix unused variable warning with --disable-files