Fix #48
Using #undef for _XOPEN_SOURCE
Merge pull request #56 from cesanta/x_open_source

Fix #48