Added enum support in generating lib header files