Use ezOptionParser and fix Makefiles