Adding C library extern for linkability