Adding emalloc to builder