Move libs to 'lib' directory; update deps.