Fixing undefined reference in drone socket