Use stdlib.h instead of alloca.h