Add $OBJDIR to the list of configuration that gets printed

Fix #77
Add support for specifying optimization level

Fix #81
Merge remote-tracking branch 'upstream/master'