Include calloc() etc. Wasn't compiling with recent GCC versions.