Move all external libraries to external directory