Adjust loading alloca funcs for (Free,Net)BSD

On NetBSD and FreeBSD, alloca(3) is defined at stdlib.h,
and they do not have alloca.h.
Merge pull request #6 from liangtai/patch-1

Adjust loading alloca funcs for (Free,Net)BSD