nwrap: Fix wrong if..else cascade

If..else cascade were wrongly mixed with preprocessor #ifdef macros.

Signed-off-by: Robin Hack <rhack@redhat.com>