wimapply.c: Fix extract flags