Use CONFIGURE_DIRS.