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

Fixed 'clobbered' warning when using -Os and added ifndef for \_GNU\_SOURCE
Fixes #3