Move libraries to lib/.