fix linker error in latest mingw with gcc 4.8.1

Without this fix the libccnet-0.dll cannot be linked and created under MinGW with gcc 4.8.1
I waste 2 days to fix this this bug ;/