Replace alloca.h with stdlib.h; the former doesn't exist on FreeBSD.