Revert "Do not compile mingw targets with -fPIC"

This reverts commit 72c6ade12ea9caa04e90b3937e518d0f55f3aca6.