Change back to stack allocate implementation.
Correct the Makefile.