Free functions are now optional.

Free functions are generated optionaly.
Improved test with Makefile