Added an ifdef guard for GNU source.