Use <stdlib.h> instead of <malloc.h>, and add build artifacts to .gitignore