Sample JNA usage for a C library