rudimentary host platform detection