Add getopt for tools so faup.exe can compile