Still correcting the makefile

Hope liboconfig can be found now.
Use fscanf return value