String os = System.getProperty("os.name");
if (os == null) {
warn("Your operating system has no name, so I'm guessing its some kind of *nix.");
platform = new PlatformHookUnixoid();
} else if (os.toLowerCase().startsWith("windows")) {
platform = new PlatformHookWindows();
} else if ("Linux".equals(os) || "Solaris".equals(os) ||
"SunOS".equals(os) || "AIX".equals(os) ||
"FreeBSD".equals(os) || "NetBSD".equals(os) || "OpenBSD".equals(os)) {
platform = new PlatformHookUnixoid();
} else if (os.toLowerCase().startsWith("mac os x")) {