added feature test macro _XOPEN_SOURCE 500 to enable blksize.

I'm not sure that it is a correct and portable way, but it works.