Made the query for available devices more platform dependent