Add build ed to prepare script

Fix printf warning in malloc.c