adding a simple way to compile the library, simple example of using it for linux