Change DLL interface libraries to use sys.platform to query the OS type do determine which library to load (.lib vs .so).