Store "lib" files in separate "lib" folder when linking a DLL.

Note that storing will fail unless the "lib" folder is created in advance. This have to be improved.