Prevented exceptions on non-Mac OS X platforms

Fixed the version error and also prevented the exception from being thrown on non-Mac OSX platforms. This was screwing up guard notifications on Linux in cross platform projects.