alloca.h prevents the library from being build on freebsd/openbsd, with this modification is succeeds