Modified this header so that functions are exported in the dll.
Apparantly this works as a C library.