Unbreak DEBUG_MALLOC & CHECK_MEMORY, now everything is accounted for.
Fixup build process.

Remove use of AR. Remove use of sed.
Merge pull request #26 from sunyc/i9-warnings

Fix-up automated build and test.

Remove use of ar, ranlib and sed. Unbreak DEBUG_MALLOC & CHECK_MEMORY.