move some libraries to lib