Add getopt as a dependency