Fix aix build (reverting to 80ies style getopt instead of getopt_long - srsly ibm?)