Correction of gengetopt and function filename working