Corrected path references to getopt.h and added it to the header include set. Fixed a linking problem in service lister specific to Windows.