Should be dll on windows

On mingw, bam output `.so` for shareddll. But it should be `.dll`.