add legacy Perl getopt.pl for SSPACE