compile typehash_stubs.c