Updated DLOpen funcs to be more consistent between platforms.