D'oh. Include vim.h so that FEAT_ASYNC can be defined.