added a ifndef for sockets flag for drone.io