DESC
Define XOPEN_SOURCE=500 to avoid pread/pwrite warnings.
EDESC

On some (most?) systems, you have to define XOPEN_SOURCE to 500 if you want to
get definitions for pread/pwrite (even tho the linking works well anyway).

This patch defines it to avoid the unnecesary warning.

