* _GNU_SOURCE is set by the cmake build now, so remove the workaround * backport build fixes for newer issues