making an so wrapper for a windows dll