light version of the the mkmf library designed for use as a library
