Fix NDEBUG define in Makefile
Add simple cli option parser

Add a simple cli arg parser. Only help '-h' is supported so far, there
is no other functionality to expose yet.