Explicitly include sys/resource.h in Linux.

Patrick pointed out that without this, the monitor does not compile on
the latest Arch 64 bit.