Fixed: Segfault on startup and immediate teardown
Merge pull request #1 from ToJans/master

Added a simple test to verify it works
Should only compile c-files