malloc fixes
consistency
make: build with linker garbage collection