bugfix: FindGLIB2 didn't clean up properly. added new pkg-config utility functions which can be reused