Apologies, problem was as simple as a missing EOF character to the my_struct.cpp file ! At least the above should work for others interesting in trying out JNA!
my_struct.cpp