define _GNU_SOURCE at cmake-level so as to suppress warnings caused by include order changes