Add glib-mkenums support to build script

Actual enums are not yet implemented.