Add Makefile var to allow for compile time heap/stack alloc option.