Add library compilation support
Configure C-linkage to allow interfacing with library
Merge pull request #3 from timkurvers/feature/library

Adds opt-in library compilation support and C-linking