Use ezOptionParser and fix Makefiles

This is the corresponding memtestCL PR for using ezOptionParser.

In addition, the windows Makefile has been updated to reflect the standard install path of CUDA on Windows. 
can remove `-I$(POPT_DIR)`