Fix compile error when enabling oss

Starting with glib 2.32 it is mandatory to include glib.h instead
of individual headers.
Similar to issue #12 .