fix os compatibility
fix os compatibility

BHamrick1/robotjs,hristoterezov/robotjs,octalmage/robotjs,BHamrick1/robotjs,hristoterezov/robotjs,BHamrick1/robotjs,octalmage/robotjs,hristoterezov/robotjs,octalmage/robotjs,BHamrick1/robotjs,octalmage/robotjs,hristoterezov/robotjs