Setting archive output directory with old methodology when using MinGw

This branch re-enables compilation with MinGw. Since commit 6296873 the archive output directories of the additional libraries were not found anymore when using MinGw.

I have finished my testing now! It should be alright!