more compatibility tweaks - checking for argp