add getopt package as dependency