Fixes issue #189 (displaying error alert when no target platform is selected)