Only use getopt_long when long options present
Made install target dependent on compiled binary