Support to override standard calls in C programs

With this fix, developers can override standard functions
like assert, malloc, etc.