Gives library correct name when compiling with MinGW. This fixex #22.