Improve Linux compatibility, add makefile
Update the config system
Remove lines attempting to release memory of local variables