Copy libs to output.
Moved stuff around.