automatic glut lib name extraction