Added a new hpp file with 'extern C' flags, now it works

Signed-off-by: Andrew Miller <amiller@cs.umd.edu>