Only use getopt_long() if it was detected