Well it's obvious that it is possible to open the door only to the library (indoor). So if the thief left FROM the library, he could not place books after he closed the doors. Therefore the librarian was involved with the theft because he throwed some books on the groud behind the doors so it looked like a fight.
Good story, keep it going