Fix bnts.dll related errors in Windows 7, 8 or 10

Fix bnts.dll related errors in Windows 7, 8 or 10