Simple class for making a copy of the kernel command line
changes to Main to support setting up kernel command line and passing it along
to the app

Silly Newlib implementation of recursive locks so that I can use getopt ;-)