Ensure compile-time --with-logdir directory is present and created