Because you can't set which serial it has to use (Leonardo uses Serial1 instead of Serial) you can't use this library with the arduino leonardo