Remove _GNU_SOURCE reference into headers

@jelmer - Following up on the discussion within last PR about _GNU_SOURCE relevance, I had promised to look into that after the merge. Therefore here it is - pass travis-ci build without warning/issue. Good to go or more changes required in your opinion?