Fixed 'clobbered' warning when using -Os and added ifndef for _GNU_SOURCE

Fixes #3
Merge pull request #4 from AVSystem/issue-3

Fixed 'clobbered' warning when using -Os and added ifndef for _GNU_SOURCE
Fixes #3