Remove meego, it triggers compiling with c++ which breaks linking
Replace uuid_unparse_lower() with uuid_unparse()
_XOPEN_SOURCE hides non-standard stuff, __EXTENSIONS__ brings them back