fix navigator.platform

platform check fix for non-Windows systems
Merge pull request #3 from 3ventic/patch-1

fix navigator.platform for non-Win32 systems