simple fix for zbeacon on windows and osx