Use C linkage in frontend.h and input_common.h
Merge pull request #474 from heuripedes/extern-c

Use C linkage in frontend.h and input_common.h