added support for generating a generic microlib