Fixed fallback logic so it will keep working even after the boneheaded removal of the SDK by UBNT