gen_wrap.py: Fix command line handling.
Make gen_wrap and wrappers work on Linux.