Tweaks to determining platform currently running on.