fixing toolchain file for cross-compilation: forcing static link for all libraries (and more specifically libwinpthread-1.dll)