Regenerate library.lst and move build files to distribution module.