Add include for "stdlib.h"

This fixes a compile failure from a recent NaCl roll.

Apparently stdlib.h was getting included somewhere else so I got
rand(), RAND_MAX and exit() for free.