Add missing #include <stdlib.h>

This allows the validator + test suite to be compiled under cygwin.