Added basic platform checking for desktop platforms