fix js platform detection to match new way we have single link for linux (not linux32 or linux64).