Move runtime libraries to the lib/ directory