I don't know how the library rebuilding works in 1.40, and how it differs from the one in 1.37 / 1.38; maybe someone can shed some light on this?
I'll fix this soon, and then there will be no reason to use 1.40 anymore.
If you enable the library rebuilding option, then there really won't be any reason to use 1.40.