Properly choose serial or libusb at startup