Fixed Makefile bug, declarations associated with getopt and bug in convert.c