Add getopt to buildInputs