nwrap: Fix wrong if..else cascade

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

Signed-off-by: Robin Hack <hack.robin@gmail.com>