Fix version number wrongly commited in 3a6c8e64
Move library stuff to loadable module