glib: fix compilation issues.

For some reason glib doesn't find 'host' correctly. So substituted with 'build'.
Seems to work.