another mac build fix
better USB error handling