Merge pull request #51 from mattn/gcc_but_windows

Should be dll on windows
Check the compiler is executable