[GCC] Build Improvements for MinGW

Automatically copy the lib and icu DLLs for shared builds