Good way to use custom .dll.so ?